WriteMapKeyValueRepo

class WriteMapKeyValueRepo<Key, Value>(map: MutableMap<Key, Value> = mutableMapOf()) : WriteKeyValueRepo<Key, Value>

Constructors

Link copied to clipboard
fun <Key, Value> WriteMapKeyValueRepo(map: MutableMap<Key, Value> = mutableMapOf())

Functions

Link copied to clipboard
open suspend override fun set(toSet: Map<Key, Value>)
Link copied to clipboard
open suspend override fun unset(toUnset: List<Key>)
Link copied to clipboard
open suspend override fun unsetWithValues(toUnset: List<Value>)

Properties

Link copied to clipboard
open override val onNewValue: Flow<Pair<Key, Value>>
Link copied to clipboard
open override val onValueRemoved: Flow<Key>